HCaptcha\Main B

Total Complexity 85
Dependencies 140
Dependents 6
Total lines 1,564
Lines of code 1,075
Logical lines of code 186
Comment lines 274
Methods 27
Properties 9

Methods 27

Method Rating Maintainability Complexity Lines of code
load_modules()
D
12
9 641
print_inline_styles()
A
40 3 98
print_footer_scripts()
S
47 6 36
plugin_or_theme_active()
S
56 7 20
get_api_src()
S
50 6 28
csp_headers()
S
50 6 27
activate_hcaptcha()
S
62 6 10
init_hooks()
S
45 3 44
is_edit_page()
S
51 4 28
denylist_ip()
S
62 3 12
allowlist_ip()
S
62 3 12
login_head()
S
57 2 25
is_network_wide()
S
68 3 7
prefetch_hcaptcha_dns()
S
67 3 7
parse_csp()
S
62 2 11
is_plugin_active()
S
72 2 6
declare_wc_compatibility()
S
73 2 5
init()
S
66 2 8
get_check_site_config_url()
S
69 2 6
get_verify_url()
S
69 2 6
merge_csp()
S
63 2 10
get_api_url()
S
69 2 6
force_https()
S
71 1 5
settings()
S
82 1 3
load()
S
80 1 3
get()
S
79 1 3
load_textdomain()
S
68 1 8